package com.baizhi.ems_thymeleaf.mapper;

import com.baizhi.ems_thymeleaf.pojo.User;

import java.util.List;

/**
* @author 86135
* @description 针对表【user】的数据库操作Mapper
* @createDate 2022-11-11 12:21:25
* @Entity com.baizhi.ems_thymeleaf.pojo.User
*/
public interface UserMapper {

    int deleteByPrimaryKey(Long id);

    int insert(User record);

    int insertSelective(User record);

    User selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(User record);

    int updateByPrimaryKey(User record);

    List<User> findUserByUsername(String username);

    User findUserByUsernameAndPassword(User user);
}
